package cn.mf.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication //扫描当前包及其子包，能扫描到exception包下面的全局异常类
//@Import(GlobleExceptionHandler.class) //强行扫描

@EnableEurekaClient
@MapperScan("cn.mf.hrm.mapper")
@EnableFeignClients
public class SysmanageServiceAPP1040 {
    public static void main(String[] args) {
        SpringApplication.run(SysmanageServiceAPP1040.class,args);
    }
}
